package com.jcl.oauth.controller;

import org.springframework.security.core.Authentication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* @Description:
* @Param:
* @return:
* @Author: 朝花不迟暮
* @Date: 2020/10/30
*/
@RestController
public class UserController
{
    @GetMapping("index")
    public Object index(Authentication authentication){
        return authentication;
    }
}
